Version

Item(Int32[]) Property

An indexer for the Matrix. The Matrix can be indexed one-dimensionally or multi-dimensionally.
Syntax
'Declaration
 
Public Overloads Property Item( _
   ByVal ParamArray subscript() As Integer _
) As Double
public double Item( 
   params int[] subscript
) {get; set;}

Parameters

subscript
A sequence of indices that correspond to the dimensions of the Matrix.

Property Value

The element specified by the subscript.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Occurs when the Matrix is empty.
System.ArgumentExceptionOccurs when the subscript is non-unitary and has a different number of dimensions than the Matrix.
System.ArgumentOutOfRangeException Occurs when a subscript index is out of the bounds of the Matrix.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also